import yaml
import os

count = len(os.listdir("./rgb"))
for i in range(count):
    list = [611.855224609375, 0.0, 315.3951721191406, 0.0, 610.3872680664062, 255.4595947265625, 0.0, 0.0, 1.0]
    d={
        i:{
            "cam_K": list,
            "depth_scale": 1.0,
        }
    }
    f=open("info.yml","a",encoding="utf-8")
    yaml.dump(d,f)
    f.close()


